package com.cy.pj.common.web.pojo;

import lombok.Data;

@Data
public class JSONObject {
    private Integer state;
    private String message;
    private Object data;

    public JSONObject(Object data) {
        this.data = data;
    }

    public JSONObject(Integer state, String message, Object data) {
        this.state = state;
        this.message = message;
        this.data = data;
    }

    public JSONObject(String message) {
        this.message = message;
    }

}
